<template>
    <van-tabbar v-model="active" active-color="#ff8d1a" inactive-color="#a6a6a6" route>
        <van-tabbar-item name="home" to="home" icon="wap-home">首页</van-tabbar-item>
        <van-tabbar-item name="nearby" to="nearby" icon="location">附近</van-tabbar-item>
        <van-tabbar-item name="search" icon="eye">发现</van-tabbar-item>
        <van-tabbar-item name="friends" icon="column">订单</van-tabbar-item>
        <van-tabbar-item name="my" to="my" icon="manager">我的</van-tabbar-item>
    </van-tabbar>
</template>
<script setup>
import {useMyTab} from '@/hooks/useMy'
const {active,route} = useMyTab()
</script>
<style lang="scss" scoped>

</style>